home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4745 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Problems with Borland C Graphic Functions
  5. Date: 6 Feb 1996 12:12 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <6FEB199612121268@erich.triumf.ca>
  9. References: <4f7ol4$9jb@canopus.cc.umanitoba.ca>
  10. NNTP-Posting-Host: erich.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4f7ol4$9jb@canopus.cc.umanitoba.ca>, jgiesbr@eeserv.ee.umanitoba.ca (Jeff Giesbrecht) writes...
  14. >Hi 
  15. >I'm getting a bunch of pesky Linker Errors (Borland C++ v 4.0)
  16. >when I attempt to compile. There is an error for each
  17. >of the graphic functions that I call: closegraph, getmaxy, getmaxx, etc.
  18. >The errors are of the following form:
  19. >Linker Error: undefined symbol _initgraph in module myprog.c
  20.  
  21. You have to tell the linker to look in the graphics library - somewhere under
  22. Options/Linker there is a check box for  this.
  23.  
  24. The #include <graphics.h> just tells the compiler what  the functions look like
  25. - it does not tell the linker where to find them.
  26.  
  27. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  28. Internet: bennett@triumf.ca         | of one another only when one can be
  29. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  30. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  31. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.